/*
 * @Author: your name
 * @Date: 2021-12-20 20:40:24
 * @LastEditTime: 2021-12-20 21:01:12
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \day10 react\my-app\src\api\api.js
 */
import axios from "axios"

export const gethome=()=>axios.get("/home")
export const getclassify=(params)=>axios.get("/classify?type="+params.type)